package com.tnr.scgcxx.service.safty;

import java.util.List;
import java.util.Map;

import org.dq.base.page.Page;
import org.dq.base.page.PageParam;

import com.tnr.scgcxx.dto.UserDto;
import com.tnr.scgcxx.model.User;

public interface UserService {
	
	public List<User> getAllUsers();

	Page getUsersPage(PageParam pageParam);

	public boolean addUser(UserDto dto);

	public boolean updateUser(UserDto dto);

	public User getUser(String ro_id);

	public boolean deleteUser(String... ro_ids);

	public boolean updateUsersStatus(String status, Integer[] ro_ids);

	public boolean confirmUserMenus(String userId, String[] menuIds);

	Map<String, Object> getUserMenus(String userId);

}
